package com.iretailer.report.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Auther Bennie
 * @Date 2020/6/3 14:16
 * @Description
 */
@Data
@TableName(value = "t_config")
public class Config {
    @JSONField(name = "Id")
    @TableId(value = "Id", type = IdType.AUTO)
    private Long id;

    @JSONField(name = "ConfigKey")
    @TableField(value = "ConfigKey")
    private String configKey;

    @JSONField(name = "ConfigValue")
    @TableField(value = "ConfigValue")
    private String configValue;

    @JSONField(name = "CreateTime")
    @TableField(value = "CreateTime")
    private LocalDateTime createTime;
}
